package com.kyb.entity;

import java.util.List;

public class User {

	private String userId;//员工唯一标识ID（不可修改）
	private String name;//成员名称(必须  )
	private String unionId;//在当前isv全局范围内唯一标识一个用户的身份,用户无法修改
	private String dingId;//钉钉id
	private String openId;//在本 服务窗运营服务商 范围内,唯一标识关注者身份的id（不可修改）
	private String mobile;//手机号(必须)
	private String active;//是否激活
	private String remark;//备注
	private String avatar;//头像url
	private boolean isAdmin;//是否为企业的管理员, true表示是, false表示不是
	private boolean isHide;//是否号码隐藏, true表示隐藏, false表示不隐藏
	private boolean isBoss;//是否为企业的老板, true表示是, false表示不是
	private boolean isSenior;//是否是高官
	private String tel;//分机号
	private String position;//职位信息
	private List<Long> department;//成员所属部门id列表(必须)
	private String workPlace;//办公地点
	private String email;//员工的电子邮箱
    
	public User() {
		super();
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getUnionId() {
		return unionId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	public String getDingId() {
		return dingId;
	}

	public void setDingId(String dingId) {
		this.dingId = dingId;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getActive() {
		return active;
	}

	public void setActive(String active) {
		this.active = active;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public boolean isAdmin() {
		return isAdmin;
	}

	public void setAdmin(boolean isAdmin) {
		this.isAdmin = isAdmin;
	}

	public boolean isHide() {
		return isHide;
	}

	public void setHide(boolean isHide) {
		this.isHide = isHide;
	}

	public boolean isBoss() {
		return isBoss;
	}

	public void setBoss(boolean isBoss) {
		this.isBoss = isBoss;
	}

	public boolean isSenior() {
		return isSenior;
	}

	public void setSenior(boolean isSenior) {
		this.isSenior = isSenior;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}
	
	public List<Long> getDepartment() {
		return department;
	}

	public void setDepartment(List<Long> department) {
		this.department = department;
	}

	public String getWorkPlace() {
		return workPlace;
	}

	public void setWorkPlace(String workPlace) {
		this.workPlace = workPlace;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return "User [userId=" + userId + ", name=" + name + ", unionId=" + unionId + ", dingId=" + dingId + ", openId="
				+ openId + ", mobile=" + mobile + ", active=" + active + ", remark=" + remark + ", avatar=" + avatar
				+ ", isAdmin=" + isAdmin + ", isHide=" + isHide + ", isBoss=" + isBoss + ", isSenior=" + isSenior
				+ ", tel=" + tel + ", position=" + position + ", departmentId=" + department + ", workPlace="
				+ workPlace + ", email=" + email + "]";
	}

	
  
}
